//
//  HXPlayerTitleCCell.m
//  ZCooking
//
//  Created by 韩旭 on 16/9/8.
//  Copyright © 2016年 HX_. All rights reserved.
//

#import "HXPlayerTitleCCell.h"
#import "HX_Macro.h"

@implementation HXPlayerTitleCCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.countLabel = [[UILabel alloc] init];
        _countLabel.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_countLabel];
    }
    return self;
}
- (void)layoutSubviews {
    [super layoutSubviews];
    self.countLabel.frame = CGRectMake(0, 0, self.contentView.HX_width, self.contentView.HX_height);
}
- (void)awakeFromNib {
//    self.count.textAlignment = 1;
}
-(void)config:(NSInteger)index
{
    //给需要 点击cell改变的状态的控件设置tag
    //为了能在外面取到  然后通过点击cell给控件改变状态和属性
//    self.countLabel.tag = index + 1000;
}

@end
